package com.caine.order.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: CaineZhu
 * @Description:
 * @Date: Created in 17:47 2021/1/4
 * @Modified By:
 */
@Data
@Accessors(chain = true)
public class OrderVO implements Serializable {
    public static final long serialVersionUID = 42L;
    /**
     * 商品ID
     */
    @TableId
    private Integer goodsId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 商品数量
     */
    private Integer count;
    /**
     * 商品单价
     */
    private BigDecimal price;
    /**
     * 总价格
     */
    private BigDecimal totalPay;
}
